<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>失败位的数量</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.fann-get-bit-fail" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_get_bit_fail</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_get_bit_fail</span> &mdash; <span class="dc-title">失败位的数量</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-get-bit-fail-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fann_get_bit_fail</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ann</code></span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   失败位的数量：意味着输出神经元的数量多于失败位的限度
   (参见 <span class="function"><a href="fann_get_bit_fail_limit.html" class="function">fann_get_bit_fail_limit()</a></span>, <span class="function"><a href="fann_set_bit_fail_limit.html" class="function">fann_set_bit_fail_limit()</a></span>).
   位数将会在所有的训练数据中被计数，因此这个数字将会比训练数据的数量高一点。
  </p>
  <p class="para">
   该值可以被 <span class="function"><a href="fann_reset_mse.html" class="function">fann_reset_MSE()</a></span> 函数重置，并且可以被能够更新MSE值的函数更新。(比如 <span class="function"><a href="fann_test_data.html" class="function">fann_test_data()</a></span>, <span class="function"><a href="fann_train_epoch.html" class="function">fann_train_epoch()</a></span>)
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fann-get-bit-fail-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">ann</code></dt>

    <dd>

     <p class="para">Neural network <span class="type"><a href="language.types.resource.html" class="type resource">resource</a></span>.</p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-get-bit-fail-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功 ，返回失败位的数量，错误则返回 <strong><code>FALSE</code></strong> .
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fann-get-bit-fail-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="fann_get_mse.html" class="function" rel="rdfs-seeAlso">fann_get_MSE()</a> - 从网络中读取均方误差。</span></li>
    <li class="member"><span class="function"><a href="fann_reset_mse.html" class="function" rel="rdfs-seeAlso">fann_reset_MSE()</a> - 重置网络中的均方误差。</span></li>
    <li class="member"><span class="function"><a href="fann_test_data.html" class="function" rel="rdfs-seeAlso">fann_test_data()</a> - 使用训练数据来测试并且计算出 MSE .</span></li>
    <li class="member"><span class="function"><a href="fann_train_epoch.html" class="function" rel="rdfs-seeAlso">fann_train_epoch()</a> - 使用一组训练数据训练一个周期。</span></li>
    <li class="member"><span class="function"><a href="fann_get_bit_fail_limit.html" class="function" rel="rdfs-seeAlso">fann_get_bit_fail_limit()</a> - 返回训练期间使用的误差限制</span></li>
    <li class="member"><span class="function"><a href="fann_set_bit_fail_limit.html" class="function" rel="rdfs-seeAlso">fann_set_bit_fail_limit()</a> - 设置训练期间使用的误差</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>